<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Stockage</title>
    </head>
<jsp:useBean id = "gM" class = "Messages.GestionMessages"  scope = "application"/>
<%  String message = request.getParameter("message");
    String pseudo = (String)session.getAttribute("pseudo");
    if(message != "" && request.getMethod() == "POST")
        gM.setMessage(pseudo, message);
    response.sendRedirect("Affichage.jsp");
%>
</html>
